package com.mcg.jituan;


import cn.hutool.core.io.FileUtil;
import cn.hutool.poi.excel.ExcelReader;
import cn.hutool.poi.excel.ExcelUtil;
import com.mcg.ash.TelnetTool;
import com.mcg.plugin.omcxdb.Omcx;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


/**
 * 服务器端实现远程接口。
 * 必须继承UnicastRemoteObject，以允许JVM创建远程的存根/代理。
 */
public class AshOmc extends UnicastRemoteObject implements IAshOmc {
    private int numberOfComputations;

    protected AshOmc() throws RemoteException {
        numberOfComputations = 0;
    }
    Map<String, String> mm =null;

    @Override
    public Map<String, List<String>> jtomc(String path) throws Exception {

        return post.mmm(path);
    }

    @Override
    public String test1(String a) throws Exception {
        System.out.println("输出："+a);
        String b = "--------------------"+a+"--------------------";
        return b;
    }
}
